package com.module.framework.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.module.framework.domain.Book;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface BookMapper extends BaseMapper<Book> {
    @Select("SELECT SUM(total_number) FROM lib_book")
    Integer selectTotalNumberSum();
}
